package com.diandi.signature.bean.proceessinfo;

import com.alibaba.fastjson.annotation.JSONField;
import com.diandi.signature.bean.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 签章中间过程主表信息
 * @author mwz
 * @create 2017-08-23 14:03
 * @version V1.0.0
 */
public class SignatureProcessLog extends BaseEntity {
    /*签章交易号*/
    private String signatureCode;
    /*借款人ID*/
    private Long userId;
    /*合同批次号*/
    private String contractBatchCode;
    /*合同编号*/
    private String contractCode;
    /*合同模板编号*/
    private String contractTemplateCode;
    /*标的ID*/
    private Long borrowId;
    /*合同标题*/
    private String contractTitle;
    /*接口类型*/
    private Integer InterfaceType;
    /*业务状态*/
    private Integer businessStatus;
    /*平台处理状态*/
    private Integer platformStatus;
    /*法大大处理状态*/
    private Integer passStatus;
    /*处理状态*/
    private Integer processFlag;
    /*重试次数*/
    private Integer retryCount;
    /*下次重试时间*/
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date nextTime;

    public String getSignatureCode() {
        return signatureCode;
    }

    public void setSignatureCode(String signatureCode) {
        this.signatureCode = signatureCode;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getContractBatchCode() {
        return contractBatchCode;
    }

    public void setContractBatchCode(String contractBatchCode) {
        this.contractBatchCode = contractBatchCode;
    }

    public String getContractCode() {
        return contractCode;
    }

    public void setContractCode(String contractCode) {
        this.contractCode = contractCode;
    }

    public String getContractTemplateCode() {
        return contractTemplateCode;
    }

    public void setContractTemplateCode(String contractTemplateCode) {
        this.contractTemplateCode = contractTemplateCode;
    }

    public Long getBorrowId() {
        return borrowId;
    }

    public void setBorrowId(Long borrowId) {
        this.borrowId = borrowId;
    }

    public String getContractTitle() {
        return contractTitle;
    }

    public void setContractTitle(String contractTitle) {
        this.contractTitle = contractTitle;
    }



    public Integer getBusinessStatus() {
        return businessStatus;
    }

    public void setBusinessStatus(Integer businessStatus) {
        this.businessStatus = businessStatus;
    }

    public Integer getPlatformStatus() {
        return platformStatus;
    }

    public void setPlatformStatus(Integer platformStatus) {
        this.platformStatus = platformStatus;
    }

    public Integer getPassStatus() {
        return passStatus;
    }

    public void setPassStatus(Integer passStatus) {
        this.passStatus = passStatus;
    }

    public Integer getInterfaceType() {
        return InterfaceType;
    }

    public void setInterfaceType(Integer interfaceType) {
        InterfaceType = interfaceType;
    }

    public Integer getProcessFlag() {
        return processFlag;
    }

    public void setProcessFlag(Integer processFlag) {
        this.processFlag = processFlag;
    }

    public Integer getRetryCount() {
        return retryCount;
    }

    public void setRetryCount(Integer retryCount) {
        this.retryCount = retryCount;
    }

    public Date getNextTime() {
        return nextTime;
    }

    public void setNextTime(Date nextTime) {
        this.nextTime = nextTime;
    }
}
